package com.powernode.settings.service;

import com.powernode.commons.utils.ResponseData;
import com.powernode.settings.bean.Permission;

public interface PermissionService {
    ResponseData findAll();

    ResponseData findPermissionIdByRoleId(String roleId);

    ResponseData modifyRolePermission(String roleId,String pids);

    ResponseData add(Permission permission);
    ResponseData edit(Permission p);

    ResponseData removeBatch(String ids);
    ResponseData findPermissionsByUserId(String userId);
}
